package com.jhws.business.comm.service;

import java.math.BigInteger;
import java.util.List;
import java.util.Map;

import com.jhws.business.comm.bo.TblBuildingDimBo;
import com.jhws.common.Page;

public interface ITblBuildingDimService
{
	public abstract TblBuildingDimBo findTblBuildingDimById(String BuildingCode);
	
	public abstract int getCountByComm(String comm);

	public abstract Page findTblBuildingDim(int start, int num, String whereClause)
			throws Exception;

	public abstract List<TblBuildingDimBo> findTblBuildingDimByWhere(String whereClause) throws Exception;

	public abstract String getBuildingAliasName(String commCode,String areaName,String buildingName);

	public abstract String getUnitAliasName(String commCode,String areaName,String buildingName);

	public abstract List<Map<String, Object>> getUnitsInfoForExport(String commCode);

	List findTblBuildingDimBySelectWhere(String select, String whereClause) throws Exception;
	
	public abstract List<String> findAllOutdoorOrWallMachineByComm(String commCode) throws Exception;

	public abstract TblBuildingDimBo save(TblBuildingDimBo bo) throws Exception;

	public abstract void removeDim(String BuildingCode);

	public abstract void removeBuildingByComm(String commCode);
	
	public abstract int getUnitDevNumber(String Room) throws Exception;

	public abstract BigInteger getMaxBuildingNum(String commCode);

	public abstract Map<String, Object> findBuildingListPage(Map param);
}
